package scau.mis4.chanyulin.service;

import scau.mis4.chanyulin.base.common.IBaseService;
import scau.mis4.chanyulin.entity.Good;
import java.util.List;

/**
 * Created by cyl on 2018/03/27.
 * Good Service接口
 */
public interface IGoodService extends IBaseService<Good> {

    List<Good> findAll();

    int deleteGoodAndDetail(String goodId);

    Good findByKey(Object goodId);

    Good findByGoodNo(String goodNo);

}
